package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author: 王秀田
 * @date: 2024/11/7 8:45
 * @description: 地区经纬表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_lon_lat")
@ApiModel(value="GeConLonLat对象", description="地区经纬")
public class GeConLonLat implements Serializable {

    @ApiModelProperty(value = "地区经纬ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "省份代码")
    private String pCode;

    @ApiModelProperty(value = "城市代码")
    private String cCode;

    @ApiModelProperty(value = "地区代码")
    private String dCode;

    @ApiModelProperty(value = "省份")
    private String pro;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "地区")
    private String district;

    @ApiModelProperty(value = "经度")
    private String lon;

    @ApiModelProperty(value = "纬度")
    private String lat;
}
